snapshot: Limit cairo nodes to clip region
authorTimm Bäder <mail@baedert.org>
Mon, 19 Mar 2018 17:52:12 +0000 (18:52 +0100)
committerTimm Bäder <mail@baedert.org>
Tue, 20 Mar 2018 08:40:10 +0000 (09:40 +0100)
commit3f367277fef5d6cdf921428279ba54904b8c9201
treef972452cf6986617b40ccaf6789edd9191bc5ff2
parent4240119d64067232eb7fdf0e64062f25e9049ea3
snapshot: Limit cairo nodes to clip region

In certain cases, we might create large cairo nodes, resulting in
surfaces so large, cairo can't handle them. Fix this by limiting the
cairo node to the current clip region.
gtk/gtksnapshot.c